package com.yyfax.common.tools;

import android.content.Intent;

/**
 * Created by HenryZhang on 2017/11/6.<br>
 * Copyright © 2017 www.yylending.com. All Rights Reserved.<br><br>
 */
public class IntentUtils {
	public static Boolean getExtra(Intent intent, String name, boolean defaultValue) {
		return null != intent ? intent.getBooleanExtra(name, defaultValue) : defaultValue;
	}
}
